QT       += core gui svg

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    applanguagecontroller.cpp \
    button/buttoncontainerwidget.cpp \
    button/templatestylebutton.cpp \
    coverwidgetheaderview.cpp \
    coverwidgetitemdelegate.cpp \
    fileitem.cpp \
    filemodel.cpp \
    filemodelcontroller.cpp \
    graphics-view/paintboardwidget.cpp \
    lineedit/lineeditcontainerwidget.cpp \
    lineedit/passwordlineedit.cpp \
    main.cpp \
    mainwindow.cpp \
    standardviewdatarefnode.cpp \
    tab/styledtabwidget.cpp \
    table/coverwidgetitemtableview.cpp \
    table/coverwidgettableview.cpp \
    tableviewdatarefnodeadapter.cpp \
    tree/treeviewwithcustomwidget.cpp \
    viewdatacontroller.cpp \
    viewdatarefnode.cpp \
    viewdatarefnodeadapter.cpp \
    viewoperationwidget.cpp

HEADERS += \
    applanguagecontroller.h \
    button/buttoncontainerwidget.h \
    button/templatestylebutton.h \
    coverwidgetheaderview.h \
    coverwidgetitemdelegate.h \
    fileitem.h \
    filemodel.h \
    filemodelcontroller.h \
    graphics-view/paintboardwidget.h \
    lineedit/lineeditcontainerwidget.h \
    lineedit/passwordlineedit.h \
    logger.h \
    mainwindow.h \
    singletont.h \
    standardviewdatarefnode.h \
    tab/styledtabwidget.h \
    table/coverwidgetitemtableview.h \
    table/coverwidgettableview.h \
    tableviewdatarefnodeadapter.h \
    tree/treeviewwithcustomwidget.h \
    viewdatacontroller.h \
    viewdatarefnode.h \
    viewdatarefnodeadapter.h \
    viewdatarefnodeview.h \
    viewoperationwidget.h

FORMS += \
    button/buttoncontainerwidget.ui \
    graphics-view/paintboardwidget.ui \
    lineedit/lineeditcontainerwidget.ui \
    lineedit/passwordlineedit.ui \
    mainwindow.ui \
    table/coverwidgetitemtableview.ui \
    tree/treeviewwithcustomwidget.ui \
    viewoperationwidget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    qt-custom-components.qrc

TRANSLATIONS += \
    qt-custom-components_en_US.ts \
    qt-custom-components_zh_CN.ts

DISTFILES += \
    qt-custom-components_en_US.ts \
    qt-custom-components_zh_CN.ts
